<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>CSS outline 属性测试用例</title>
</head>
<body>
  <style>
  a {
    border: 1px solid;
    border-radius: 2px;
    display: inline-block;
    margin: 10px;
    padding: 5px;
  }
  
  .demo1 {
    outline: 1px dashed rgb(21, 131, 235);
    outline-offset: 10px;
    background: rgb(168, 242, 255);
  }

  .demo2 {
    outline: 4px dotted rgb(0, 0, 0);
    outline-offset: 4px;
    background: #ffa;
  }
  </style>
  <p class="demo1"> <a href="#">This link has a special focus style. outline 属性</a> </p>
  <a href="#" class="demo2">This link has a special focus style. outline-offset 属性</a>
  
</body>
</html>